/*-----------------------------------------------------------------------------
 * StatusCode.h
 *-----------------------------------------------------------------------------
 * 
 *-----------------------------------------------------------------------------
 * All rights reserved by somma (fixbrain@gmail.com, unsorted@msn.com)
 *-----------------------------------------------------------------------------
 * - 2011.01.12 Created
**---------------------------------------------------------------------------*/

#pragma once

typedef unsigned long DTSTATUS;

#define     DTS_SUCCESS                 0x00000000
#define     DT_SUCCEEDED(status)        ((DTSTATUS)(status) == DTS_SUCCESS)



#define		DTS_INVALID_PARAMETER		0x00000001
#define		DTS_INVALID_OBJECT_STATUS	0x00000002
#define		DTS_WINAPI_FAILED			0x00000003

#define     DTS_MORE_BUFFER_NEEDED      0x00000004

